package com.gem.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gem.entity.SysRole;
import org.apache.ibatis.annotations.Select;

/**
 * @author 刘聪
 * Created  on 2021/5/25
 */
public interface SysRoleMapper extends BaseMapper<SysRole> {
    @Select("SELECT * FROM sb_role WHERE id = #{id}")
    SysRole selectById(Integer id);
}
